﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WinCourseControls
{
    public partial class FrmLabel : Form
    {
        public FrmLabel()
        {
            InitializeComponent();
        }

        private void lblCommit_Click(object sender, EventArgs e)
        {
            lblUserName.Text = "lyc";
        }

        private void lblUserName_TextChanged(object sender, EventArgs e)
        {
            lblLoginInfo.Text = lblUserName.Text + "欢迎进入系统！";
        }
    }
}
